﻿using Medical.Domain.Enum;
using System.ComponentModel.DataAnnotations;
namespace Medical.Api.Read.Dto.WmsDto.WmsStoresDro
{
    public class QueryStoresDto
    {
        /// <summary>
        /// 货架Id（必填）
        /// </summary>
        [Required(ErrorMessage = "货架Id不能为空")]
        public int ShelfId { get; set; }
    }

    public class WmsStoresPageDto
    {
        public int Id { get; set; }
        public int MaterialId { get; set; }
        public int ShelfId { get; set; }
        public int FloorNum { get; set; }
        public int LatticeNum { get; set; }
        public int StoresNum { get; set; }
        public MaterialTypeEnum MaterialType { get; set; }
        public bool StoresState { get; set; }
        public string MaterialName { get; set; }
        public string MaterialTypeName { get; set; }
    }
}
